package cn.ibizlab.odoo.core.odoo_account.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_account.domain.Account_fiscal_position_tax_template;
import cn.ibizlab.odoo.core.odoo_account.filter.Account_fiscal_position_tax_templateSearchContext;

/**
 * 实体[Account_fiscal_position_tax_template] 服务对象接口
 */

public interface IAccount_fiscal_position_tax_templateService{
     Account_fiscal_position_tax_template get(Integer id) ;
     Account_fiscal_position_tax_template get(Account_fiscal_position_tax_template account_fiscal_position_tax_template) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     boolean update(Account_fiscal_position_tax_template account_fiscal_position_tax_template) ;
     void updateBatch(List<Account_fiscal_position_tax_template> account_fiscal_position_tax_templates, int batchSize) ;
     boolean remove(Integer id) ;
     void createBatch(List<Account_fiscal_position_tax_template> account_fiscal_position_tax_templates, int batchSize) ;
     boolean create(Account_fiscal_position_tax_template account_fiscal_position_tax_template) ;

    /**
     * 查询集合 默认查询
     */
    Page<Account_fiscal_position_tax_template> searchDefault(Account_fiscal_position_tax_templateSearchContext context) ;

    /**
     * 根据税科目调整模板查询
     */
     Page<Account_fiscal_position_tax_template> selectByOdoo_position(Integer id) ;

    /**
     * 根据税率模板查询
     */
     Page<Account_fiscal_position_tax_template> selectByOdoo_tax_dest(Integer id) ;

    /**
     * 根据税率模板查询
     */
     Page<Account_fiscal_position_tax_template> selectByOdoo_tax_src(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_fiscal_position_tax_template> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_fiscal_position_tax_template> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Account_fiscal_position_tax_template convert2Domain(cn.ibizlab.odoo.core.client.model.Iaccount_fiscal_position_tax_template model ,Account_fiscal_position_tax_template domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iaccount_fiscal_position_tax_template convert2Model(Account_fiscal_position_tax_template domain , cn.ibizlab.odoo.core.client.model.Iaccount_fiscal_position_tax_template model);

}
